<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: fatfs.sup/fatfs_sup.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b666832e27e3be33c87e99ef6d60e3b7.html">fatfs.sup</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">fatfs_sup.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="fatfs__sup_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="user__config_8h.html">user_config.h</a>&quot;</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="fatfs_8h.html">fatfs.sup/fatfs.h</a>&quot;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#ifdef AVR</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="mathio_8h.html">printf/mathio.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="time_8h.html">lib/time.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="fatfs__sup_8h.html#aae427cc909a4b5993032934d85fd8c31">   43</a></span>&#160;<a class="code" href="structFATFS.html">FATFS</a> <a class="code" href="fatfs__sup_8c.html#aae427cc909a4b5993032934d85fd8c31">Fatfs</a>[<a class="code" href="ffconf_8h.html#a366da9a40c8ceb3103a6b72ca02b9969">_VOLUMES</a>];                            <span class="comment">/* File system object for each logical drive */</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#if _MULTI_PARTITION != 0</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">const</span> PARTITION Drives[] =</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;{</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    {</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        0,0</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    }</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    ,</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    {</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        0,1</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    }</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;};</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#if FATFS_DEBUG &gt; 0</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *err_msg[] =</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;{</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="stringliteral">&quot;OK&quot;</span>,</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="stringliteral">&quot;DISK_ERR&quot;</span>,</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="stringliteral">&quot;INT_ERR&quot;</span>,</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="stringliteral">&quot;NOT_READY&quot;</span>,</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="stringliteral">&quot;NO_FILE&quot;</span>,</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="stringliteral">&quot;NO_PATH&quot;</span>,</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="stringliteral">&quot;INVALID_NAME&quot;</span>,</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="stringliteral">&quot;DENIED&quot;</span>,</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="stringliteral">&quot;EXIST&quot;</span>,</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="stringliteral">&quot;INVALID_OBJECT&quot;</span>,</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="stringliteral">&quot;WRITE_PROTECTED&quot;</span>,</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="stringliteral">&quot;INVALID_DRIVE&quot;</span>,</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <span class="stringliteral">&quot;NOT_ENABLED&quot;</span>,</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="stringliteral">&quot;NO_FILE_SYSTEM&quot;</span>,</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="stringliteral">&quot;MKFS_ABORTED&quot;</span>,</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="stringliteral">&quot;TIMEOUT&quot;</span>,</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="stringliteral">&quot;LOCKED&quot;</span>,</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="stringliteral">&quot;NOT_ENOUGH_CORE&quot;</span>,</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="stringliteral">&quot;TOO_MANY_OPEN_FILES&quot;</span>,</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="stringliteral">&quot;INVALID_PARAMETER&quot;</span>,</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <a class="code" href="cpu_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;};</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="fatfs__sup_8h.html#ae7b9417320aaaa1c1dfb229cad6669d8">  113</a></span>&#160;<a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="fatfs__sup_8c.html#ae7b9417320aaaa1c1dfb229cad6669d8">tm_to_fat</a>(<a class="code" href="structtm.html">tm_t</a> *t)</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;{</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> fat;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="comment">/* Pack date and time into a uint32_t variable */</span></div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    fat = ((<a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>)(t-&gt;<a class="code" href="structtm.html#a33adf78fd6476b2120ce3b9c4a852053">tm_year</a> - 80) &lt;&lt; 25)</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        | (((<a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>)t-&gt;<a class="code" href="structtm.html#a112ac36fa2f593777138a417cf031e17">tm_mon</a>+1) &lt;&lt; 21)</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        | (((<a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>)t-&gt;<a class="code" href="structtm.html#ab8d8904bad43b0c8b96e61941c5b5310">tm_mday</a>) &lt;&lt; 16)</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        | ((<a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>)t-&gt;<a class="code" href="structtm.html#a3e7ca4e37f1abcaf56b8a916c38eb9fe">tm_hour</a> &lt;&lt; 11)</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;        | ((<a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>)t-&gt;<a class="code" href="structtm.html#af414eb7c86cc3099595211eee4d4211b">tm_min</a> &lt;&lt; 5)</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        | ((<a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a>)t-&gt;<a class="code" href="structtm.html#a4d098a9a5c03a00b2ee61e10851de81e">tm_sec</a> &gt;&gt; 1);</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="keywordflow">return</span>(fat);</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;}</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="ff_8h.html#af58b536abfd30f77213f4ecaf2ac52f5">  130</a></span>&#160;<a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a> <a class="code" href="fatfs__sup_8c.html#ae0f1746ad69d0d4b90cba250c6774ca8">get_fattime</a> (<span class="keywordtype">void</span>)</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;{</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <a class="code" href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a> t;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="comment">/* Get GMT time */</span></div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <a class="code" href="time_8c.html#a32b1cbd925752f0cd61d202bbe204a69">time</a>(&amp;t);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keywordflow">return</span>( <a class="code" href="fatfs__sup_8c.html#ae7b9417320aaaa1c1dfb229cad6669d8">tm_to_fat</a>(<a class="code" href="time_8c.html#a08eb1818fa59b3e6e1f1470ca0888572">localtime</a>(&amp;t)));</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;}</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="fatfs__sup_8h.html#ab3509aecf1844c84f1797e5b567d531c">  145</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="fatfs__sup_8c.html#ab3509aecf1844c84f1797e5b567d531c">put_rc</a> (<span class="keywordtype">int</span> rc)</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;{</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">#if FATFS_DEBUG &gt; 0</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="keywordtype">char</span> *ptr;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="keywordflow">if</span>(rc &gt; 19)</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        ptr = <span class="stringliteral">&quot;INVALID ERROR MESSAGE&quot;</span>;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        ptr = (<span class="keywordtype">char</span> *) err_msg[(<span class="keywordtype">int</span>)rc];</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;rc=%u FR_%s\n&quot;</span>, rc, ptr);</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;rc=%u\n&quot;</span>, rc);</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;}</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="fatfs__sup_8h.html#a1e9c5ddcfdf89c9a42c96ee1d2196876">  161</a></span>&#160;<a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="fatfs__sup_8c.html#a1e9c5ddcfdf89c9a42c96ee1d2196876">AccSize</a>;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="fatfs__sup_8h.html#a8886578bc67fc71837328a1ee237d10c">  164</a></span>&#160;<a class="code" href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a>    <a class="code" href="fatfs__sup_8c.html#a8886578bc67fc71837328a1ee237d10c">AccFiles</a>, <a class="code" href="fatfs__sup_8c.html#a4fb5ebb5ee82d1ddf3fdcf88329dd5d3">AccDirs</a>;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="fatfs__sup_8h.html#a2bfd82a70117cdb8941b6b0a2c069dbd">  194</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="fatfs__sup_8c.html#a2bfd82a70117cdb8941b6b0a2c069dbd">fatfs_scan_files</a> (</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="keywordtype">char</span>* path                                        <span class="comment">/* Pointer to the working buffer with start path */</span></div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;)</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;{</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    <a class="code" href="structDIR.html">DIR</a> dirs;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44c">FRESULT</a> fr;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    <span class="keywordtype">int</span> i;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <a class="code" href="structFILINFO.html">FILINFO</a> <a class="code" href="network_8c.html#a1202cd63c360958e6272f9a20fa90f8b">info</a>;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    fr = <a class="code" href="ff_8c.html#aeb607fa4b05d127d971ff40f143bac66">f_opendir</a>(&amp;dirs, path);</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <span class="keywordflow">if</span> (fr == <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca62fce5cd9df008f8fc85f99706bda5f1">FR_OK</a>) {</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        <span class="keywordflow">while</span> (((fr = <a class="code" href="ff_8c.html#ae9647e339708c3d803db8de141986d96">f_readdir</a>(&amp;dirs, &amp;info)) == <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca62fce5cd9df008f8fc85f99706bda5f1">FR_OK</a>) &amp;&amp; info.<a class="code" href="structFILINFO.html#a7c3ce2dd03dc9a9726967fc43116079f">fname</a>[0]) {</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;            <span class="keywordflow">if</span> (info.<a class="code" href="structFILINFO.html#a838d542585831b085537b363f18205c0">fattrib</a> &amp; <a class="code" href="ff_8h.html#a3a9db44e978ed6c13b641e092d4cd7d3">AM_DIR</a>) {</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;                <a class="code" href="fatfs__sup_8c.html#a4fb5ebb5ee82d1ddf3fdcf88329dd5d3">AccDirs</a>++;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;                i = <a class="code" href="stringsup_8c.html#a895ea3a2f9901e4c962806cc15271339">strlen</a>(path);</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;                path[i] = <span class="charliteral">&#39;/&#39;</span>; <a class="code" href="stringsup_8c.html#a17598481fa495598cd57447afde0ff6b">strcpy</a>(path+i+1, info.<a class="code" href="structFILINFO.html#a7c3ce2dd03dc9a9726967fc43116079f">fname</a>);</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;                fr = <a class="code" href="fatfs__sup_8c.html#a2bfd82a70117cdb8941b6b0a2c069dbd">fatfs_scan_files</a>(path);</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;                path[i] = 0;</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;                <span class="keywordflow">if</span> (fr != <a class="code" href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca62fce5cd9df008f8fc85f99706bda5f1">FR_OK</a>) <span class="keywordflow">break</span>;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;            } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="comment">//              xprintf(PSTR(&quot;%s/%s\n&quot;), path, info.fname);</span></div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;                <a class="code" href="fatfs__sup_8c.html#a8886578bc67fc71837328a1ee237d10c">AccFiles</a>++;</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;                <a class="code" href="fatfs__sup_8c.html#a1e9c5ddcfdf89c9a42c96ee1d2196876">AccSize</a> += info.<a class="code" href="structFILINFO.html#a9e5b78ed7190f73de3ebcbdfbd6d1844">fsize</a>;</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;            }</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="preprocessor">#ifdef ESP8266</span></div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;            <a class="code" href="user__task_8c.html#a863d8bc03e69f2efee6042bcec7b456b">optimistic_yield</a>(1000);</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;            <a class="code" href="system_8c.html#a9b9f170e9a01e51b57656fcda1f183df">wdt_reset</a>();</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        }</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    }</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    <span class="keywordflow">return</span> fr;</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;}</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="fatfs__sup_8h.html#ae9c5ed10edd2df490945033c4ddfbeab">  232</a></span>&#160;<span class="keywordtype">char</span> *<a class="code" href="fatfs__sup_8c.html#ae9c5ed10edd2df490945033c4ddfbeab">fatfs_fstype</a>(<span class="keywordtype">int</span> type)</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;{</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    <span class="keywordtype">char</span> *ptr;</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;    <span class="keywordflow">switch</span>(type)</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    {</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="ff_8h.html#aab755aa1b4f81f4aabee4a5d4738cfb0">FS_FAT12</a>:</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;            ptr = <span class="stringliteral">&quot;FAT12&quot;</span>;</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="ff_8h.html#a7ef90a36d99edfc0138a2155a17a79b9">FS_FAT16</a>:</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;            ptr = <span class="stringliteral">&quot;FAT16&quot;</span>;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="ff_8h.html#ac63e0796095a789cefdbc3c3c676c9ce">FS_FAT32</a>:</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;            ptr = <span class="stringliteral">&quot;FAT32&quot;</span>;</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        <span class="keywordflow">case</span> <a class="code" href="ff_8h.html#a50bfa912e87473bc54333523983f39f6">FS_EXFAT</a>:</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;            ptr = <span class="stringliteral">&quot;EXFAT&quot;</span>;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        <span class="keywordflow">default</span>:</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;             ptr = <span class="stringliteral">&quot;UNKNOWN&quot;</span>;</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    }</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    <span class="keywordflow">return</span>(ptr);</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;}</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="fatfs__sup_8h.html#ad7d2063fab39190a7288bfa7cb647b46">  268</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="fatfs__sup_8c.html#ad7d2063fab39190a7288bfa7cb647b46">fatfs_status</a>(<span class="keywordtype">char</span> *ptr)</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;{</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    <span class="keywordtype">long</span> p2;</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    <span class="keywordtype">int</span> res;</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    <a class="code" href="structFATFS.html">FATFS</a> *fs;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    <span class="keywordtype">char</span> label[24+2];</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a> vsn; <span class="comment">// volume serial number</span></div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    <span class="keywordflow">while</span>(*ptr == <span class="charliteral">&#39; &#39;</span> || *ptr == <span class="charliteral">&#39;\t&#39;</span>)</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;        ++ptr;</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;fatfs status:%s\n&quot;</span>,ptr);</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    res = <a class="code" href="ff_8c.html#a72098afbbef7ff8b850bacfc721d6bd0">f_getfree</a>(ptr, (<a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>*)&amp;p2, &amp;fs);</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    <span class="keywordflow">if</span> (res)</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;    {</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;        <a class="code" href="fatfs__sup_8c.html#ab3509aecf1844c84f1797e5b567d531c">put_rc</a>(res);</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    }</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;FAT type                = %s\n&quot;</span>,  <a class="code" href="fatfs__sup_8c.html#ae9c5ed10edd2df490945033c4ddfbeab">fatfs_fstype</a>(fs-&gt;<a class="code" href="structFATFS.html#add27d97babe807b573eac98a71dc4ae5">fs_type</a>));</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;Bytes/Cluster           = %lu\n&quot;</span>, (<a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>)fs-&gt;<a class="code" href="structFATFS.html#ad7fa7a509f8d097a9ab182d6c47be568">csize</a> * 512);</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;Number of FATs          = %u\n&quot;</span>,  fs-&gt;<a class="code" href="structFATFS.html#a56716c7e7ac10cf46e73ffb2a2e9b545">n_fats</a>);</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;Root DIR entries        = %u\n&quot;</span>,  fs-&gt;<a class="code" href="structFATFS.html#a189a00aa038044ffad0fc7f7dcf2aae1">n_rootdir</a>);</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;Sectors/FAT             = %lu\n&quot;</span>, fs-&gt;<a class="code" href="structFATFS.html#a53e9560659f14e66f306c2c444198bf3">fsize</a>);</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;Number of clusters      = %lu\n&quot;</span>, fs-&gt;<a class="code" href="structFATFS.html#a8da50eeba6469bc20d60ca0cf9a1307c">n_fatent</a> - 2);</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;FAT start (lba)         = %lu\n&quot;</span>, fs-&gt;<a class="code" href="structFATFS.html#a848fba02c4aabe02ef2984e578f33d64">fatbase</a>);</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;DIR start (lba,clustor) = %lu\n&quot;</span>, fs-&gt;<a class="code" href="structFATFS.html#a3f72fd998dbcce4652a85a81fe944bc4">dirbase</a>);</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;Data start (lba)        = %lu\n&quot;</span>, fs-&gt;<a class="code" href="structFATFS.html#a5b6c0bc2e9fd2ae8ef714210a74a2d5d">database</a>);</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="preprocessor">#if _USE_LABEL</span></div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    res = <a class="code" href="ff_8c.html#a71190e4130c3c252996cae7936a94fca">f_getlabel</a>(ptr, label, (<a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>*)&amp;vsn);</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;    <span class="keywordflow">if</span> (res)</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    {</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        <a class="code" href="fatfs__sup_8c.html#ab3509aecf1844c84f1797e5b567d531c">put_rc</a>(res);</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    }</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;Volume name             = %s\n&quot;</span>, label[0] ? label : <span class="stringliteral">&quot;&lt;blank&gt;&quot;</span>);</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;Volume S/N              = %04X-%04X\n&quot;</span>, (<a class="code" href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a>)((<a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>)vsn &gt;&gt; 16), (<a class="code" href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a>)(vsn &amp; 0xFFFF));</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;    <a class="code" href="fatfs__sup_8c.html#a1e9c5ddcfdf89c9a42c96ee1d2196876">AccSize</a> = <a class="code" href="fatfs__sup_8c.html#a8886578bc67fc71837328a1ee237d10c">AccFiles</a> = <a class="code" href="fatfs__sup_8c.html#a4fb5ebb5ee82d1ddf3fdcf88329dd5d3">AccDirs</a> = 0;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;    res = <a class="code" href="fatfs__sup_8c.html#a2bfd82a70117cdb8941b6b0a2c069dbd">fatfs_scan_files</a>(ptr);</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    <span class="keywordflow">if</span> (res)</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    {</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        <a class="code" href="fatfs__sup_8c.html#ab3509aecf1844c84f1797e5b567d531c">put_rc</a>(res);</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    }</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;%u files, %lu bytes.\n%u folders.\n&quot;</span></div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;                 <span class="stringliteral">&quot;%lu KB total disk space.\n%lu KB available.\n&quot;</span>,</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;            <a class="code" href="fatfs__sup_8c.html#a8886578bc67fc71837328a1ee237d10c">AccFiles</a>, <a class="code" href="fatfs__sup_8c.html#a1e9c5ddcfdf89c9a42c96ee1d2196876">AccSize</a>, <a class="code" href="fatfs__sup_8c.html#a4fb5ebb5ee82d1ddf3fdcf88329dd5d3">AccDirs</a>,</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;            (fs-&gt;<a class="code" href="structFATFS.html#a8da50eeba6469bc20d60ca0cf9a1307c">n_fatent</a> - 2) * fs-&gt;<a class="code" href="structFATFS.html#ad7fa7a509f8d097a9ab182d6c47be568">csize</a> / 2, p2 * fs-&gt;<a class="code" href="structFATFS.html#ad7fa7a509f8d097a9ab182d6c47be568">csize</a> / 2</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    );</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;}</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="fatfs__sup_8h.html#a11c6644c2b989d1ac2492b30b80e4ead">  335</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="fatfs__sup_8c.html#a11c6644c2b989d1ac2492b30b80e4ead">fatfs_filinfo_list</a>(<a class="code" href="structFILINFO.html">FILINFO</a> *<a class="code" href="network_8c.html#a1202cd63c360958e6272f9a20fa90f8b">info</a>)</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;{</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    <span class="keywordtype">char</span> attrs[6];</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;    <span class="keywordflow">if</span>(info-&gt;<a class="code" href="structFILINFO.html#a7c3ce2dd03dc9a9726967fc43116079f">fname</a>[0] == 0)</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;    {</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;        <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;fatfs_filinfo_list: empty\n&quot;</span>);</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;    }</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;    attrs[0] = (info-&gt;<a class="code" href="structFILINFO.html#a838d542585831b085537b363f18205c0">fattrib</a> &amp; <a class="code" href="ff_8h.html#a3a9db44e978ed6c13b641e092d4cd7d3">AM_DIR</a>) ? <span class="charliteral">&#39;D&#39;</span> : <span class="charliteral">&#39;-&#39;</span>;</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;    attrs[1] = (info-&gt;<a class="code" href="structFILINFO.html#a838d542585831b085537b363f18205c0">fattrib</a> &amp; <a class="code" href="ff_8h.html#add6d85d1e7a02b4f6188783ef91a5f1e">AM_RDO</a>) ? <span class="charliteral">&#39;R&#39;</span> : <span class="charliteral">&#39;-&#39;</span>;</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;    attrs[2] = (info-&gt;<a class="code" href="structFILINFO.html#a838d542585831b085537b363f18205c0">fattrib</a> &amp; <a class="code" href="ff_8h.html#aa90c4c921c1955fd407d8bbf17f1674e">AM_HID</a>) ? <span class="charliteral">&#39;H&#39;</span> : <span class="charliteral">&#39;-&#39;</span>;</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    attrs[3] = (info-&gt;<a class="code" href="structFILINFO.html#a838d542585831b085537b363f18205c0">fattrib</a> &amp; <a class="code" href="ff_8h.html#a1f25d5c17b5a3a6397b3398add8cdc15">AM_SYS</a>) ? <span class="charliteral">&#39;S&#39;</span> : <span class="charliteral">&#39;-&#39;</span>;</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;    attrs[4] = (info-&gt;<a class="code" href="structFILINFO.html#a838d542585831b085537b363f18205c0">fattrib</a> &amp; <a class="code" href="ff_8h.html#ae8174d00798e34e7c9e95898cb9e1a09">AM_ARC</a>) ? <span class="charliteral">&#39;A&#39;</span> : <span class="charliteral">&#39;-&#39;</span>;</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    attrs[5] = 0;</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;%s %u/%02u/%02u %02u:%02u %9lu %s&quot;</span>,</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;        attrs,</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;        (info-&gt;<a class="code" href="structFILINFO.html#a7c01c48a15b1b49da459924437b0bd52">fdate</a> &gt;&gt; 9) + 1980, (info-&gt;<a class="code" href="structFILINFO.html#a7c01c48a15b1b49da459924437b0bd52">fdate</a> &gt;&gt; 5) &amp; 15, info-&gt;<a class="code" href="structFILINFO.html#a7c01c48a15b1b49da459924437b0bd52">fdate</a> &amp; 31,</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;        (info-&gt;<a class="code" href="structFILINFO.html#ae0f751b79621bf7b29669f177bbe6b9a">ftime</a> &gt;&gt; 11), (info-&gt;<a class="code" href="structFILINFO.html#ae0f751b79621bf7b29669f177bbe6b9a">ftime</a> &gt;&gt; 5) &amp; 63,</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;        info-&gt;<a class="code" href="structFILINFO.html#a9e5b78ed7190f73de3ebcbdfbd6d1844">fsize</a>, info-&gt;<a class="code" href="structFILINFO.html#a7c3ce2dd03dc9a9726967fc43116079f">fname</a>);</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;    <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a>(<span class="stringliteral">&quot;\n&quot;</span>);</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;}</div><div class="ttc" id="fatfs__sup_8c_html_a4fb5ebb5ee82d1ddf3fdcf88329dd5d3"><div class="ttname"><a href="fatfs__sup_8c.html#a4fb5ebb5ee82d1ddf3fdcf88329dd5d3">AccDirs</a></div><div class="ttdeci">WORD AccDirs</div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00164">fatfs_sup.c:164</a></div></div>
<div class="ttc" id="integer_8h_html_a197942eefa7db30960ae396d68339b97"><div class="ttname"><a href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a></div><div class="ttdeci">unsigned short WORD</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00026">integer.h:26</a></div></div>
<div class="ttc" id="fatfs__sup_8c_html_ae0f1746ad69d0d4b90cba250c6774ca8"><div class="ttname"><a href="fatfs__sup_8c.html#ae0f1746ad69d0d4b90cba250c6774ca8">get_fattime</a></div><div class="ttdeci">MEMSPACE DWORD get_fattime(void)</div><div class="ttdoc">Read time and convert to FAT32 time. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00130">fatfs_sup.c:130</a></div></div>
<div class="ttc" id="structFATFS_html_a8da50eeba6469bc20d60ca0cf9a1307c"><div class="ttname"><a href="structFATFS.html#a8da50eeba6469bc20d60ca0cf9a1307c">FATFS::n_fatent</a></div><div class="ttdeci">DWORD n_fatent</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00125">ff.h:125</a></div></div>
<div class="ttc" id="structtm_html_af414eb7c86cc3099595211eee4d4211b"><div class="ttname"><a href="structtm.html#af414eb7c86cc3099595211eee4d4211b">tm::tm_min</a></div><div class="ttdeci">int tm_min</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00044">time.h:44</a></div></div>
<div class="ttc" id="ff_8h_html_a50bfa912e87473bc54333523983f39f6"><div class="ttname"><a href="ff_8h.html#a50bfa912e87473bc54333523983f39f6">FS_EXFAT</a></div><div class="ttdeci">#define FS_EXFAT</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00352">ff.h:352</a></div></div>
<div class="ttc" id="stringsup_8c_html_a895ea3a2f9901e4c962806cc15271339"><div class="ttname"><a href="stringsup_8c.html#a895ea3a2f9901e4c962806cc15271339">strlen</a></div><div class="ttdeci">MEMSPACE size_t WEAK_ATR strlen(const char *str)</div><div class="ttdoc">String Length. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00146">stringsup.c:146</a></div></div>
<div class="ttc" id="structFATFS_html_a5b6c0bc2e9fd2ae8ef714210a74a2d5d"><div class="ttname"><a href="structFATFS.html#a5b6c0bc2e9fd2ae8ef714210a74a2d5d">FATFS::database</a></div><div class="ttdeci">DWORD database</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00130">ff.h:130</a></div></div>
<div class="ttc" id="user__config_8h_html"><div class="ttname"><a href="user__config_8h.html">user_config.h</a></div><div class="ttdoc">Master include file for project Includes all project includes and defines here. </div></div>
<div class="ttc" id="structFILINFO_html_a7c01c48a15b1b49da459924437b0bd52"><div class="ttname"><a href="structFILINFO.html#a7c01c48a15b1b49da459924437b0bd52">FILINFO::fdate</a></div><div class="ttdeci">WORD fdate</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00205">ff.h:205</a></div></div>
<div class="ttc" id="time_8h_html"><div class="ttname"><a href="time_8h.html">time.h</a></div><div class="ttdoc">Common Linux/POSIX time functions. </div></div>
<div class="ttc" id="structFILINFO_html"><div class="ttname"><a href="structFILINFO.html">FILINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00203">ff.h:203</a></div></div>
<div class="ttc" id="structtm_html_ab8d8904bad43b0c8b96e61941c5b5310"><div class="ttname"><a href="structtm.html#ab8d8904bad43b0c8b96e61941c5b5310">tm::tm_mday</a></div><div class="ttdeci">int tm_mday</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00046">time.h:46</a></div></div>
<div class="ttc" id="structFATFS_html"><div class="ttname"><a href="structFATFS.html">FATFS</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00092">ff.h:92</a></div></div>
<div class="ttc" id="ff_8c_html_ae9647e339708c3d803db8de141986d96"><div class="ttname"><a href="ff_8c.html#ae9647e339708c3d803db8de141986d96">f_readdir</a></div><div class="ttdeci">MEMSPACE FRESULT f_readdir(DIR *dp, FILINFO *fno)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04260">ff.c:4260</a></div></div>
<div class="ttc" id="network_8c_html_a1202cd63c360958e6272f9a20fa90f8b"><div class="ttname"><a href="network_8c.html#a1202cd63c360958e6272f9a20fa90f8b">info</a></div><div class="ttdeci">static struct ip_info info</div><div class="ttdef"><b>Definition:</b> <a href="network_8c_source.html#l00055">network.c:55</a></div></div>
<div class="ttc" id="structtm_html_a33adf78fd6476b2120ce3b9c4a852053"><div class="ttname"><a href="structtm.html#a33adf78fd6476b2120ce3b9c4a852053">tm::tm_year</a></div><div class="ttdeci">int tm_year</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00048">time.h:48</a></div></div>
<div class="ttc" id="structFILINFO_html_ae0f751b79621bf7b29669f177bbe6b9a"><div class="ttname"><a href="structFILINFO.html#ae0f751b79621bf7b29669f177bbe6b9a">FILINFO::ftime</a></div><div class="ttdeci">WORD ftime</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00206">ff.h:206</a></div></div>
<div class="ttc" id="send_8c_html_a435d1572bf3f880d55459d9805097f62"><div class="ttname"><a href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a></div><div class="ttdeci">unsigned int uint32_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00019">send.c:19</a></div></div>
<div class="ttc" id="ff_8c_html_a72098afbbef7ff8b850bacfc721d6bd0"><div class="ttname"><a href="ff_8c.html#a72098afbbef7ff8b850bacfc721d6bd0">f_getfree</a></div><div class="ttdeci">MEMSPACE FRESULT f_getfree(const TCHAR *path, DWORD *nclst, FATFS **fatfs)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04387">ff.c:4387</a></div></div>
<div class="ttc" id="fatfs__sup_8c_html_ae9c5ed10edd2df490945033c4ddfbeab"><div class="ttname"><a href="fatfs__sup_8c.html#ae9c5ed10edd2df490945033c4ddfbeab">fatfs_fstype</a></div><div class="ttdeci">MEMSPACE char * fatfs_fstype(int type)</div><div class="ttdoc">return a string with the file system type </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00232">fatfs_sup.c:232</a></div></div>
<div class="ttc" id="ffconf_8h_html_a366da9a40c8ceb3103a6b72ca02b9969"><div class="ttname"><a href="ffconf_8h.html#a366da9a40c8ceb3103a6b72ca02b9969">_VOLUMES</a></div><div class="ttdeci">#define _VOLUMES</div><div class="ttdef"><b>Definition:</b> <a href="ffconf_8h_source.html#l00161">ffconf.h:161</a></div></div>
<div class="ttc" id="time_8c_html_a32b1cbd925752f0cd61d202bbe204a69"><div class="ttname"><a href="time_8c.html#a32b1cbd925752f0cd61d202bbe204a69">time</a></div><div class="ttdeci">MEMSPACE time_t time(time_t *t)</div><div class="ttdoc">Return second from epoch - POSIX function. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00843">time.c:843</a></div></div>
<div class="ttc" id="structFATFS_html_add27d97babe807b573eac98a71dc4ae5"><div class="ttname"><a href="structFATFS.html#add27d97babe807b573eac98a71dc4ae5">FATFS::fs_type</a></div><div class="ttdeci">BYTE fs_type</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00093">ff.h:93</a></div></div>
<div class="ttc" id="ff_8c_html_aeb607fa4b05d127d971ff40f143bac66"><div class="ttname"><a href="ff_8c.html#aeb607fa4b05d127d971ff40f143bac66">f_opendir</a></div><div class="ttdeci">MEMSPACE FRESULT f_opendir(DIR *dp, const TCHAR *path)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04155">ff.c:4155</a></div></div>
<div class="ttc" id="user__task_8c_html_a863d8bc03e69f2efee6042bcec7b456b"><div class="ttname"><a href="user__task_8c.html#a863d8bc03e69f2efee6042bcec7b456b">optimistic_yield</a></div><div class="ttdeci">void optimistic_yield(uint32_t interval_us)</div><div class="ttdef"><b>Definition:</b> <a href="user__task_8c_source.html#l00102">user_task.c:102</a></div></div>
<div class="ttc" id="fatfs__sup_8c_html_ad7d2063fab39190a7288bfa7cb647b46"><div class="ttname"><a href="fatfs__sup_8c.html#ad7d2063fab39190a7288bfa7cb647b46">fatfs_status</a></div><div class="ttdeci">MEMSPACE void fatfs_status(char *ptr)</div><div class="ttdoc">Compute space used, number of directories and files contained used by a drive. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00268">fatfs_sup.c:268</a></div></div>
<div class="ttc" id="structDIR_html"><div class="ttname"><a href="structDIR.html">DIR</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00184">ff.h:184</a></div></div>
<div class="ttc" id="integer_8h_html_ad342ac907eb044443153a22f964bf0af"><div class="ttname"><a href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a></div><div class="ttdeci">unsigned long DWORD</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00031">integer.h:31</a></div></div>
<div class="ttc" id="stringsup_8c_html_a17598481fa495598cd57447afde0ff6b"><div class="ttname"><a href="stringsup_8c.html#a17598481fa495598cd57447afde0ff6b">strcpy</a></div><div class="ttdeci">MEMSPACE WEAK_ATR char * strcpy(char *dest, const char *src)</div><div class="ttdoc">copy a string </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00161">stringsup.c:161</a></div></div>
<div class="ttc" id="time_8h_html_a3346b04b0420b32ccf6b706551b70762"><div class="ttname"><a href="time_8h.html#a3346b04b0420b32ccf6b706551b70762">time_t</a></div><div class="ttdeci">uint32_t time_t</div><div class="ttdoc">type of EPOCH result. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00035">time.h:35</a></div></div>
<div class="ttc" id="structtm_html_a112ac36fa2f593777138a417cf031e17"><div class="ttname"><a href="structtm.html#a112ac36fa2f593777138a417cf031e17">tm::tm_mon</a></div><div class="ttdeci">int tm_mon</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00047">time.h:47</a></div></div>
<div class="ttc" id="fatfs__sup_8c_html_ab3509aecf1844c84f1797e5b567d531c"><div class="ttname"><a href="fatfs__sup_8c.html#ab3509aecf1844c84f1797e5b567d531c">put_rc</a></div><div class="ttdeci">MEMSPACE void put_rc(int rc)</div><div class="ttdoc">display FatFs return code as ascii string </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00145">fatfs_sup.c:145</a></div></div>
<div class="ttc" id="ff_8h_html_a1f25d5c17b5a3a6397b3398add8cdc15"><div class="ttname"><a href="ff_8h.html#a1f25d5c17b5a3a6397b3398add8cdc15">AM_SYS</a></div><div class="ttdeci">#define AM_SYS</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00357">ff.h:357</a></div></div>
<div class="ttc" id="cpu_8h_html_a070d2ce7b6bb7e5c05602aa8c308d0c4"><div class="ttname"><a href="cpu_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a></div><div class="ttdeci">#define NULL</div><div class="ttdef"><b>Definition:</b> <a href="cpu_8h_source.html#l00055">cpu.h:55</a></div></div>
<div class="ttc" id="structFATFS_html_a56716c7e7ac10cf46e73ffb2a2e9b545"><div class="ttname"><a href="structFATFS.html#a56716c7e7ac10cf46e73ffb2a2e9b545">FATFS::n_fats</a></div><div class="ttdeci">BYTE n_fats</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00095">ff.h:95</a></div></div>
<div class="ttc" id="time_8c_html_a08eb1818fa59b3e6e1f1470ca0888572"><div class="ttname"><a href="time_8c.html#a08eb1818fa59b3e6e1f1470ca0888572">localtime</a></div><div class="ttdeci">MEMSPACE tm_t * localtime(time_t *tp)</div><div class="ttdoc">Convert POSIX epoch time_t *tp into POSIX tm_t *result. </div><div class="ttdef"><b>Definition:</b> <a href="time_8c_source.html#l00522">time.c:522</a></div></div>
<div class="ttc" id="ff_8h_html_a7ef90a36d99edfc0138a2155a17a79b9"><div class="ttname"><a href="ff_8h.html#a7ef90a36d99edfc0138a2155a17a79b9">FS_FAT16</a></div><div class="ttdeci">#define FS_FAT16</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00350">ff.h:350</a></div></div>
<div class="ttc" id="structFATFS_html_a848fba02c4aabe02ef2984e578f33d64"><div class="ttname"><a href="structFATFS.html#a848fba02c4aabe02ef2984e578f33d64">FATFS::fatbase</a></div><div class="ttdeci">DWORD fatbase</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00128">ff.h:128</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44c"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44c">FRESULT</a></div><div class="ttdeci">FRESULT</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00220">ff.h:220</a></div></div>
<div class="ttc" id="mathio_8h_html"><div class="ttname"><a href="mathio_8h.html">mathio.h</a></div><div class="ttdoc">Math IO functions, and verious conversion code with floating point support. </div></div>
<div class="ttc" id="structFILINFO_html_a9e5b78ed7190f73de3ebcbdfbd6d1844"><div class="ttname"><a href="structFILINFO.html#a9e5b78ed7190f73de3ebcbdfbd6d1844">FILINFO::fsize</a></div><div class="ttdeci">FSIZE_t fsize</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00204">ff.h:204</a></div></div>
<div class="ttc" id="structFILINFO_html_a7c3ce2dd03dc9a9726967fc43116079f"><div class="ttname"><a href="structFILINFO.html#a7c3ce2dd03dc9a9726967fc43116079f">FILINFO::fname</a></div><div class="ttdeci">TCHAR fname[_MAX_LFN+1]</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00210">ff.h:210</a></div></div>
<div class="ttc" id="fatfs__sup_8c_html_a11c6644c2b989d1ac2492b30b80e4ead"><div class="ttname"><a href="fatfs__sup_8c.html#a11c6644c2b989d1ac2492b30b80e4ead">fatfs_filinfo_list</a></div><div class="ttdeci">MEMSPACE void fatfs_filinfo_list(FILINFO *info)</div><div class="ttdoc">Display FILINFO structure in a readable format. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00335">fatfs_sup.c:335</a></div></div>
<div class="ttc" id="ff_8h_html_ac63e0796095a789cefdbc3c3c676c9ce"><div class="ttname"><a href="ff_8h.html#ac63e0796095a789cefdbc3c3c676c9ce">FS_FAT32</a></div><div class="ttdeci">#define FS_FAT32</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00351">ff.h:351</a></div></div>
<div class="ttc" id="structtm_html"><div class="ttname"><a href="structtm.html">tm</a></div><div class="ttdoc">POSIX struct tm. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00041">time.h:41</a></div></div>
<div class="ttc" id="fatfs__sup_8c_html_a8886578bc67fc71837328a1ee237d10c"><div class="ttname"><a href="fatfs__sup_8c.html#a8886578bc67fc71837328a1ee237d10c">AccFiles</a></div><div class="ttdeci">WORD AccFiles</div><div class="ttdoc">Total number or Files and Directories. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00164">fatfs_sup.c:164</a></div></div>
<div class="ttc" id="structFILINFO_html_a838d542585831b085537b363f18205c0"><div class="ttname"><a href="structFILINFO.html#a838d542585831b085537b363f18205c0">FILINFO::fattrib</a></div><div class="ttdeci">BYTE fattrib</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00207">ff.h:207</a></div></div>
<div class="ttc" id="cpu_8h_html_ad0fe97585b8891f5e4f2b9a6426330a4"><div class="ttname"><a href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="ttdeci">#define MEMSPACE</div><div class="ttdef"><b>Definition:</b> <a href="cpu_8h_source.html#l00025">cpu.h:25</a></div></div>
<div class="ttc" id="system_8c_html_a9b9f170e9a01e51b57656fcda1f183df"><div class="ttname"><a href="system_8c.html#a9b9f170e9a01e51b57656fcda1f183df">wdt_reset</a></div><div class="ttdeci">MEMSPACE void wdt_reset(void)</div><div class="ttdoc">reset watchdog </div><div class="ttdef"><b>Definition:</b> <a href="system_8c_source.html#l00190">system.c:190</a></div></div>
<div class="ttc" id="ff_8h_html_add6d85d1e7a02b4f6188783ef91a5f1e"><div class="ttname"><a href="ff_8h.html#add6d85d1e7a02b4f6188783ef91a5f1e">AM_RDO</a></div><div class="ttdeci">#define AM_RDO</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00355">ff.h:355</a></div></div>
<div class="ttc" id="ff_8h_html_ae8174d00798e34e7c9e95898cb9e1a09"><div class="ttname"><a href="ff_8h.html#ae8174d00798e34e7c9e95898cb9e1a09">AM_ARC</a></div><div class="ttdeci">#define AM_ARC</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00359">ff.h:359</a></div></div>
<div class="ttc" id="mathio_8h_html_ad6078f8da2d30ecaef99e0c2d250c0c8"><div class="ttname"><a href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a></div><div class="ttdeci">MEMSPACE int printf(const char *format,...)</div></div>
<div class="ttc" id="fatfs__sup_8c_html_a1e9c5ddcfdf89c9a42c96ee1d2196876"><div class="ttname"><a href="fatfs__sup_8c.html#a1e9c5ddcfdf89c9a42c96ee1d2196876">AccSize</a></div><div class="ttdeci">DWORD AccSize</div><div class="ttdoc">Total file space used. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00161">fatfs_sup.c:161</a></div></div>
<div class="ttc" id="structFATFS_html_a189a00aa038044ffad0fc7f7dcf2aae1"><div class="ttname"><a href="structFATFS.html#a189a00aa038044ffad0fc7f7dcf2aae1">FATFS::n_rootdir</a></div><div class="ttdeci">WORD n_rootdir</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00099">ff.h:99</a></div></div>
<div class="ttc" id="structtm_html_a4d098a9a5c03a00b2ee61e10851de81e"><div class="ttname"><a href="structtm.html#a4d098a9a5c03a00b2ee61e10851de81e">tm::tm_sec</a></div><div class="ttdeci">int tm_sec</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00043">time.h:43</a></div></div>
<div class="ttc" id="ff_8h_html_a49d0171ecbd362cda5680a0d360db44ca62fce5cd9df008f8fc85f99706bda5f1"><div class="ttname"><a href="ff_8h.html#a49d0171ecbd362cda5680a0d360db44ca62fce5cd9df008f8fc85f99706bda5f1">FR_OK</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00221">ff.h:221</a></div></div>
<div class="ttc" id="structtm_html_a3e7ca4e37f1abcaf56b8a916c38eb9fe"><div class="ttname"><a href="structtm.html#a3e7ca4e37f1abcaf56b8a916c38eb9fe">tm::tm_hour</a></div><div class="ttdeci">int tm_hour</div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00045">time.h:45</a></div></div>
<div class="ttc" id="fatfs__sup_8c_html_a2bfd82a70117cdb8941b6b0a2c069dbd"><div class="ttname"><a href="fatfs__sup_8c.html#a2bfd82a70117cdb8941b6b0a2c069dbd">fatfs_scan_files</a></div><div class="ttdeci">MEMSPACE int fatfs_scan_files(char *path)</div><div class="ttdoc">Use were FILINFO structure can be share in many functions See: fatfs_alloc_filinfo(), fatfs_scan_files() and fatfs_ls() </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00194">fatfs_sup.c:194</a></div></div>
<div class="ttc" id="fatfs__sup_8c_html_ae7b9417320aaaa1c1dfb229cad6669d8"><div class="ttname"><a href="fatfs__sup_8c.html#ae7b9417320aaaa1c1dfb229cad6669d8">tm_to_fat</a></div><div class="ttdeci">MEMSPACE uint32_t tm_to_fat(tm_t *t)</div><div class="ttdoc">FAT time structer reference. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00113">fatfs_sup.c:113</a></div></div>
<div class="ttc" id="ff_8h_html_aa90c4c921c1955fd407d8bbf17f1674e"><div class="ttname"><a href="ff_8h.html#aa90c4c921c1955fd407d8bbf17f1674e">AM_HID</a></div><div class="ttdeci">#define AM_HID</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00356">ff.h:356</a></div></div>
<div class="ttc" id="ff_8h_html_a3a9db44e978ed6c13b641e092d4cd7d3"><div class="ttname"><a href="ff_8h.html#a3a9db44e978ed6c13b641e092d4cd7d3">AM_DIR</a></div><div class="ttdeci">#define AM_DIR</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00358">ff.h:358</a></div></div>
<div class="ttc" id="fatfs__sup_8c_html_aae427cc909a4b5993032934d85fd8c31"><div class="ttname"><a href="fatfs__sup_8c.html#aae427cc909a4b5993032934d85fd8c31">Fatfs</a></div><div class="ttdeci">FATFS Fatfs[_VOLUMES]</div><div class="ttdoc">FatFs Drive Volumes. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00043">fatfs_sup.c:43</a></div></div>
<div class="ttc" id="structFATFS_html_a53e9560659f14e66f306c2c444198bf3"><div class="ttname"><a href="structFATFS.html#a53e9560659f14e66f306c2c444198bf3">FATFS::fsize</a></div><div class="ttdeci">DWORD fsize</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00126">ff.h:126</a></div></div>
<div class="ttc" id="ff_8h_html_aab755aa1b4f81f4aabee4a5d4738cfb0"><div class="ttname"><a href="ff_8h.html#aab755aa1b4f81f4aabee4a5d4738cfb0">FS_FAT12</a></div><div class="ttdeci">#define FS_FAT12</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00349">ff.h:349</a></div></div>
<div class="ttc" id="fatfs_8h_html"><div class="ttname"><a href="fatfs_8h.html">fatfs.h</a></div></div>
<div class="ttc" id="structFATFS_html_a3f72fd998dbcce4652a85a81fe944bc4"><div class="ttname"><a href="structFATFS.html#a3f72fd998dbcce4652a85a81fe944bc4">FATFS::dirbase</a></div><div class="ttdeci">DWORD dirbase</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00129">ff.h:129</a></div></div>
<div class="ttc" id="ff_8c_html_a71190e4130c3c252996cae7936a94fca"><div class="ttname"><a href="ff_8c.html#a71190e4130c3c252996cae7936a94fca">f_getlabel</a></div><div class="ttdeci">MEMSPACE FRESULT f_getlabel(const TCHAR *path, TCHAR *label, DWORD *vsn)</div><div class="ttdef"><b>Definition:</b> <a href="ff_8c_source.html#l04915">ff.c:4915</a></div></div>
<div class="ttc" id="structFATFS_html_ad7fa7a509f8d097a9ab182d6c47be568"><div class="ttname"><a href="structFATFS.html#ad7fa7a509f8d097a9ab182d6c47be568">FATFS::csize</a></div><div class="ttdeci">WORD csize</div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00100">ff.h:100</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
